/*
 * @Author: Sakura
 * @Date: 2023-08-21 10:28:23
 * @LastEditors: Sakura
 * @LastEditTime: 2023-08-22 10:04:05
 * @Description: 
 */
import React from 'react'
import ReactDOM from 'react-dom/client'
// 初始化样式
import "reset-css"
// UI框架样式

// 全局样式
import "@/assets/styles/global.scss"

import App from './App.tsx'
import { BrowserRouter } from "react-router-dom"
// import Router from "./router"


// 状态管理
import { Provider } from "react-redux"
import store from '@/store'

ReactDOM.createRoot(document.getElementById('root')!).render(
  <Provider store={ store }>
    {/* 自动导入路由 */}
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </Provider>
)
